@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  height: 100%;
}
p,div,span,a,img,section,ul,li,ol,ul,form,input,select{
  padding: 0;
  margin: 0;
}
.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// 兼容IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}

.ant-pro-sider-logo{
  width: 230px;
  height: 100px;
  margin-top: -20px;
  margin-left: -20px;
  background: #3683d3;
}
.ant-pro-sider-logo h1{
  margin-top: 20px !important;
  font-size: 20px !important;
}

.ant-pro-sider-light .ant-menu-light{
  background-color:  #43464d ;
}
.ant-menu-item a{
  color: #fff !important;
}
.ant-menu:not(.ant-menu-horizontal){
  background-color: #32353a;
}
.ant-menu-submenu a{
  color: #fff !important;
}
.ant-menu.ant-menu-dark .ant-menu-item-selected, .ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected{
  background-color: #43464d !important;
}
.ant-layout-content{
  margin-top: 55px !important;
}

input::-webkit-input-placeholder,.ant-select .ant-select-selection-placeholder{
  color:#888 !important;
}
input::-moz-placeholder{   /* Mozilla Firefox 19+ */
  color:#888 !important;
}
input:-ms-input-placeholder,select::-ms-input-placeholder{  /* Internet Explorer 10-11 */ 
  color:#888 !important;
}